package com.dhl.stategy.comparter.dog;

import com.dhl.stategy.comparter.Cat;
import com.dhl.stategy.comparter.Dog;

import java.util.Comparator;

/**
 * @author 10720
 */
public class DogHiegitComparator implements Comparator<Dog> {
    @Override
    public int compare(Dog o1, Dog o2) {
        return o1.getHeight()-o2.getHeight();
    }
}
